x86: get_page_from_gfn() should not return misleading type
authorJan Beulich <jbeulich@suse.com>
Mon, 12 Jun 2017 07:29:45 +0000 (09:29 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 Jun 2017 07:29:45 +0000 (09:29 +0200)
commit44f270dfc1e2ac17fd82051b1b7968d4a21c755a
treea1dd7c679b6eb21791bc753344a83fdfefc0dc2a
parentaeef64107afca9c6c0428b2cb26a3ba599b3ed75
x86: get_page_from_gfn() should not return misleading type

It is not impossible that the page owner is dom_io. While no current
caller cares about this case, let's nevertheless return an appropriate
type even in that case.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/p2m.h